import type { PropType } from 'vue'

import { NDataTable } from 'naive-ui'

export const basicProps = {
  ...NDataTable.props,  // 继承naive-ui组件的props

  /** 表格标题，显示在表格主体的左上角 */
  title: {
    type: String,
    default: null
  },
  /** 渲染表单的数组 */
  // columns: {
  //   type: Array,
  //   default: () => [],
  //   required: true
  // }
  // request: {
  //   type: Function as PropType<(...arg: any[]) => Promise<any>>,
  //   default: null,
  //   required: false
  // }

}
